/**   
 * @Description TODO
 * @author Lbh  
 * @date 2015-9-8 下午8:23:14 
 * @update (date)
 * @version V1.0 
 */

package com.taiyuan.tongcheng.bean;

import java.io.Serializable;

/**
 * 
* @Description TODO
* @author wzq
* @date 2015-9-17 下午2:47:21
* @update (date)
* @version V1.0
 */
public class BjExtraServiceInfo extends ExtraServiceInfo {

	private static final long serialVersionUID = 1114008384336220464L;
	/****** 额外服务id ***/
	private int bjExtraServiceId;//"整车额外服务id
	private String name;//整车额外服务名称",
	private int num;//此整车额外服务购买数量，整车的额外服务购买数量数值都是为1",
	private double price;//此整车额外服务单价"
	public int getBjExtraServiceId() {
		return bjExtraServiceId;
	}
	public void setBjExtraServiceId(int bjExtraServiceId) {
		this.bjExtraServiceId = bjExtraServiceId;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
    
	public int getNum() {
		return num;
	}
	public void setNum(int num) {
		this.num = num;
	}
	public double getPrice() {
		return price;
	}
	public void setPrice(double price) {
		this.price = price;
	}
	//服务器格式
	public String  getServiceFomartString(){
		return bjExtraServiceId+":"+num;
	}
	@Override
	public String toString() {
		return "bjExtraServiceId="+bjExtraServiceId
				+"name="+name
				+"num="+num
				+"price="+price
				;
	}
    	
}
